public class ShowProperties {

    public static void main(String[] args){
        System.getProperties().list(System.out);//以列表的形式显示System中所有的Property
        System.out.println("The User Name is : " + System.getProperty("user.name"));
        System.out.println("The library path is :   " + System.getProperty("java.library.path"));
    }
    
}